package com.raos.zkconfig.handwritten.refresh;

import java.lang.reflect.Field;

/**
 * 字段详情封装类
 *
 * @author raos
 * @emil 991207823@qq.com
 * @date 2022/9/5 22:57
 */
public class FieldDetail {

    private Field field;     // 具体哪个字段 com.raos.zkconfig.handwritten.controller.UserController.hobby
    private Object instance; // 属于哪个实例 com.raos.zkconfig.handwritten.controller.ProductController

    public FieldDetail(Field field, Object instance) {
        this.field = field;
        this.instance = instance;
    }

    public Field getField() {
        return field;
    }

    public void setField(Field field) {
        this.field = field;
    }

    public Object getInstance() {
        return instance;
    }

    public void setInstance(Object instance) {
        this.instance = instance;
    }

}